package com.ftg.learn.remote;

import com.ftg.learn.common.dto.LoginDto;
import com.ftg.learn.common.util.R;
import com.ftg.learn.common.vo.LoginVo;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 描述     接口
 *
 * @author 布衣
 * @date 2025/6/16
 */
@FeignClient("hiit-system")
public interface AuthOpenFeignRemote {

    @PostMapping("/login/login")
    @Operation(summary = "用户登陆")
    public R<LoginVo> login(
            @RequestBody LoginDto login
    );

}
